package com.situ.studentmanagement.model;


import javax.xml.crypto.Data;
import java.sql.Date;

/**
 * Created by baba on 2016/8/3.
 */
public class Orderone {
    private String useraddress;
    private String paytype;
    private Integer ispost;
    private Integer id;
    private Long orderid;
    private  Integer userid;
    private String  username;
    private String userphone;
    private Integer finalprice;
    private java.sql.Timestamp paytime;
    private Integer isconfirm;

    public java.sql.Timestamp getPaytime() {
        return paytime;
    }

    public void setPaytime(java.sql.Timestamp paytime) {
        this.paytime = paytime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getIspost() {
        return ispost;
    }

    public void setIspost(Integer ispost) {
        this.ispost = ispost;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String post) {
        this.paytype = paytype;
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public Integer getIsconfirm() {
        return isconfirm;
    }

    public void setIsconfirm(Integer isconfirm) {
        this.isconfirm = isconfirm;
    }

    public Orderone(Integer id,
                    Long orderid,
                    Integer userid,
                    String username,
                    String userphone,
                    String useraddress,
                    String paytype,

                    Integer isconfirm,
                    Integer finalprice,
                    java.sql.Timestamp paytime,
                    Integer ispost){
        this.id=id;
        this.orderid=orderid;
        this.userid=userid;
        this.username=username;
        this.userphone=userphone;
        this.paytime=paytime;
        this.useraddress=useraddress;
        this.paytype=paytype;
        this.ispost=ispost;
        this.finalprice=finalprice;
        this.isconfirm=isconfirm;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getOrderid() {
        return orderid;
    }

    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getFinalprice() {
        return finalprice;
    }

    public void setFinalprice(Integer finalprice) {
        this.finalprice = finalprice;
    }
}
